﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Framework.Contents
{
    public class PathConfiguration
    {
        /// <summary>
        /// 菜单配置Js文件路径
        /// </summary>
        public static readonly string MenuJsPath;

        public static readonly FileInfo MenuJsFileInfo;

        /// <summary>
        /// 插件目录路径
        /// </summary>
        public static readonly string PluginDirectoryFullName;

        /// <summary>
        /// NLog生成日志保存的路径
        /// </summary>
        public static readonly string NLogDirectoryFullName;


        static PathConfiguration()
        {
            MenuJsPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "public/models/menu/menu.js");
            MenuJsFileInfo = new FileInfo(MenuJsPath);

            PluginDirectoryFullName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins");

            NLogDirectoryFullName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "log");
        }
    }
}
